package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;

import java.util.List;

/**
 * @author xiaycbstart
 * @create 2019 12 19 10:56
 */
public interface CheckGroupService {
    void add(CheckGroup checkGroup, Integer[] checkitemIds);


    PageResult pageQuery(QueryPageBean queryPageBean);

    void delete(Integer id);

    void update(CheckGroup checkGroup, Integer[] checkitemIds);

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    List<CheckGroup> findAll();

    void addRelationGroupAndItem(Integer checkGroup_id, Integer[] checkitemIds);
}
